package tests;

public class AttractionCounter {

	private String name;

	public AttractionCounter(String string) {
		super();
		this.name = string;
	}

	public void check(Pass pass){
		if (pass.getEntriesLeft()>0) {
			pass.used();
			System.out.println("go ahead");
		}
		else{
			System.out.println("stay away, you poor man");
		}
	}
}
